package cn.yuanqiao.archive.fondsFolder.mapper;

import cn.yuanqiao.archive.fondsFolder.domain.FondsFolder;
import cn.yuanqiao.archive.fondsFolder.domain.Model;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FondsFolderMapper {
    /**
     * 查询模板列表
     * @param model
     * @return
     */
    List<Model> selectModelList(Model model);

    Model selectModelByID(@Param("ID") String ID, @Param("tableName") String tableName);

    int deleteModelByIDs(@Param("IDs") String[] IDs, @Param("tableName") String tableName);

    int insertModel(Model model);

    FondsFolder selectFondsfolderByID(@Param("ID") String ID, @Param("tableName") String tableName);

    List<FondsFolder> selectFondsfolderList(FondsFolder bjyqFondsfolder);

    int insertFondsfolder(FondsFolder bjyqFondsfolder);

    int updateFondsfolder(FondsFolder bjyqFondsfolder);

    int deleteFondsfolderByID(@Param("ID")String ID, @Param("tableName") String tableName);

    int createModelManage(@Param("tableName") String tableName);

    int createFondsFolder(@Param("tableName") String tableName);

}
